package org.shagin.jfin.core.ui;

import javax.swing.JFrame;

import org.jdesktop.application.Application;
import org.jdesktop.application.ApplicationContext;

/**
 * The Class JJFrame.
 */
public class JJFrame extends JFrame {

    private static final long serialVersionUID = -768875322478785451L;

    /**
     * Instantiates a new jJ frame.
     */
    public JJFrame() {
        super();
        setDefaultCloseOperation(DISPOSE_ON_CLOSE);
    }

    /**
     * Gets the context.
     *
     * @return the context
     */
    public ApplicationContext getContext() {
        return Application.getInstance().getContext();
    }

}
